package org.jeecg.common.modules.doctor.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: doctor_register_record
 * @Author: jeecg-boot
 * @Date:   2020-12-23
 * @Version: V1.0
 */
@Data
@TableName("doctor_register_record")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="doctor_register_record对象", description="doctor_register_record")
public class DoctorRegisterRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**挂号表id*/
	@Excel(name = "挂号表id", width = 15)
    @ApiModelProperty(value = "挂号表id")
    private String doctorRegisterId;
	/**患者id*/
	@Excel(name = "患者id", width = 15)
    @ApiModelProperty(value = "患者id")
    private String patientId;
    /**微信用户的openid*/
    @Excel(name = "微信用户的openid", width = 15)
    @ApiModelProperty(value = "微信用户的openid")
    private String openid;
    /**挂号编号*/
    @Excel(name = "挂号编号", width = 15)
    @ApiModelProperty(value = "挂号编号")
    private Integer visitNum;
    /**挂号性质*/
    @Excel(name = "挂号性质", width = 15)
    @ApiModelProperty(value = "挂号性质")
    private String registerNature;
	/**挂号中：0；挂号成功：1 ；挂号取消：2*/
	@Excel(name = "挂号中：1；已支付：2；挂号成功：3；挂号取消：4", width = 15)
    @ApiModelProperty(value = "挂号中：1；已支付：2；挂号成功：3；挂号取消：4，订单失效：5；待支付0；已完成6")
    private Integer status;
    /**结算状态：1 已结算；0 未结算*/
    @Excel(name = "结算状态：1 已结算；0 未结算", width = 15)
    @ApiModelProperty(value = "结算状态：1 已结算；0 未结算")
    private Integer settle;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**管理员审核*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "管理员审核")
    private Date examineTime;
    /**患者创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "患者创建时间")
    private Date registerTime;
    /**挂号失败原因*/
    @Excel(name = "挂号失败原因", width = 15)
    @ApiModelProperty(value = "挂号失败原因")
    private String failReason;
    @Excel(name = "开始工作时间", width = 20, format = "HH:mm")
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    @ApiModelProperty(value = "开始工作时间")
    private Date startTime;
    /**结束工作时间*/
    @Excel(name = "结束工作时间", width = 20, format = "HH:mm")
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    @ApiModelProperty(value = "结束工作时间")
    private Date endTime;
}
